package com.sky.mapper;

import com.sky.domain.GDTest;
import com.sky.domain.Student;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface GDTestMapper {

    List<GDTest> getAll();

    List<GDTest> getListByLimit(@Param("start") Integer start,@Param("size") Integer size);

    @MapKey("name")
    Map<String, Student> getMap();
}
